#include "node_content.h"


NodeContent::NodeContent(QWidget *parent) : QWidget(parent)
{
    layout = new QVBoxLayout();
    this->layout->setContentsMargins(0,0,0,0);
    this->setLayout(this->layout);

    QLabel *label= new QLabel("aaaaaa");
    //label->setText();
    this->layout->addWidget(label);
    this->layout->addWidget(new QTextEdit("aaaa"));
//    QTextEdit *edit = new QTextEdit("0");
//    QLineEdit *line = new QLineEdit("0");
//    edit->setTextColor(Qt::red);
//    this->layout->addWidget(line);
//    edit->setStyleSheet("QTextEdit { background: yellow }");
//    edit->setTextBackgroundColor("#262626");
//    edit->setTextColor(Qt::red);
//    this->layout->addWidget(edit);

}

NodeContent::~NodeContent()
{
    delete layout;
}
